@charset "utf-8";

/*
 *@本css功能：制作课程
 *@本css作者：杨锡君
 *@编写时间：2017年11月2日
 */


/*拖拽插件*/

.cf:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}

* html .cf {
	zoom: 1;
}

*:first-child+html .cf {
	zoom: 1;
}

html {
	margin: 0;
	padding: 0;
}

body {
	font-size: 100%;
	margin: 0;
}

h1 {
	font-size: 1.75em;
	margin: 0 0 0.6em 0;
}


.small {
	color: #666;
	font-size: 0.875em;
}

.large {
	font-size: 1.25em;
}


/**

 * Nestable

 */

.dd {
	position: relative;
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	line-height: 20px;
}

.dd-list {
	display: block;
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}

#nestable2 .dd-item .dd-list {
	display: none;
}

.dd-list .dd-list {
	padding-left: 30px;
}

.dd-collapsed .dd-list {
	display: none;
}

.dd-item,
.dd-empty,
.dd-placeholder {
	display: block;
	position: relative;
	margin: 0;
	padding: 0;
	min-height: 20px;
	font-size: 13px;
	line-height: 20px;
}

.dd-handle {
    display: block;
    height: auto;
    /* margin: 5px 0; */
       padding: 5px 0 0 70px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    /* border: 1px solid #ccc; */
    background: #fff url(../../images/ico_courseText.png) no-repeat left 7% center;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    box-sizing: border-box;
    cursor: pointer;
}
#nestable  .dd-handle{
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.dd-handle:hover {
	color: #2ea8e5;
}
#nestable2 .dd-handle:hover{
	color: #2ea8e5;
}
.dd-item>button {
	display: block;
	position: relative;
	cursor: pointer;
	float: left;
	width: 44px;
	height: 20px;
	margin: 5px 0;
	padding: 0;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	border: 0;
	background: transparent;
	font-size: 12px;
	line-height: 1;
	text-align: center;
	font-weight: bold;
}

.dd-item>button:before {
	content: url(../../images/ico_extend.png);
	display: block;
	position: absolute;
	width: 100%;
	text-align: center;
	text-indent: 0;
	    left: 6px;
}

.dd-item>button[data-action="collapse"]:before {
	content: url(../../images/ico_college.png);
}

.dd-placeholder,
.dd-empty {
	margin: 5px 0;
	padding: 0;
	min-height: 30px;
	background: #f2fbff;
	border: 1px dashed #b6bcbf;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.dd-empty {
	border: none;
	min-height: 363px;
	background-color: #fff;
	background-position: 0 0, 30px 30px;
}

.dd-dragel {
	position: absolute;
	pointer-events: none;
	z-index: 9999;
}

.dd-dragel>.dd-item .dd-handle {
	margin-top: 0;
 
}
.dd-dragel>.dd-item >.dd-handle{
	 background: #fff url(../../images/ico_folder.png) no-repeat left 12.4% bottom;
	      height: 37px
}
.dd-dragel .dd-handle {
	-webkit-box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, .1);
	box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, .1);
}


/**

 * Nestable Extras

 */

.nestable-lists {
	display: block;
	clear: both;
	padding: 30px 0;
	width: 100%;
	border: 0;
	border-top: 2px solid #ddd;
	border-bottom: 2px solid #ddd;
}

#nestable-menu {
	padding: 0;
	margin: 20px 0;
}

#nestable-output,
#nestable2-output {
	width: 100%;
	height: 7em;
	font-size: 0.75em;
	line-height: 1.333333em;
	font-family: Consolas, monospace;
	padding: 5px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

#nestable2 .dd-handle {
	color: #333;
	/*border: 1px solid #999;*/
	/*background: #bbb;*/
	/*background: -webkit-linear-gradient(top, #bbb 0%, #999 100%);
	background: -moz-linear-gradient(top, #bbb 0%, #999 100%);
	background: linear-gradient(top, #bbb 0%, #999 100%);*/
}
#nestable2>.dd-list>.dd-item>.dd-handle{
	      background: #fff url(../../images/ico_folder.png) no-repeat left 12.4% bottom;
	      height: 37px;
	white-space: nowrap;
}
/*#nestable2 .dd-list .dd-item>.dd-item>.dd-list>.dd-item>.dd-handle{
	 background: #fff url(../../images/ico_courseText.png) no-repeat left 5.1% bottom;
}*/
#nestable2 .dd-handle:hover {
	/*background: #bbb;*/
}

#nestable2 .dd-item>button:before {
	color: #333;
}

@media only screen and (min-width: 700px) {
	.dd {
		float: left;
		width: 100%;
	}
	.dd+.dd {
		margin-left: 2%;
	}
}

.dd-hover>.dd-handle {
	background: #2ea8e5 !important;
}


/**

 * Nestable Draggable Handles

 */

.dd3-content {
	display: block;
	height: 30px;
	margin: 5px 0;
	padding: 5px 10px 5px 40px;
	color: #333;
	text-decoration: none;
	font-weight: bold;
	border: 1px solid #ccc;
	background: #fafafa;
	background: -webkit-linear-gradient(top, #fafafa 0%, #eee 100%);
	background: -moz-linear-gradient(top, #fafafa 0%, #eee 100%);
	background: linear-gradient(top, #fafafa 0%, #eee 100%);
	-webkit-border-radius: 3px;
	border-radius: 3px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.dd3-content:hover {
	color: #2ea8e5;
	background: #fff;
}

.dd-dragel>.dd3-item>.dd3-content {
	margin: 0;
}

.dd3-item>button {
	margin-left: 30px;
}

.dd3-handle {
	position: absolute;
	margin: 0;
	left: 0;
	top: 0;
	cursor: pointer;
	width: 30px;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	border: 1px solid #aaa;
	background: #ddd;
	background: -webkit-linear-gradient(top, #ddd 0%, #bbb 100%);
	background: -moz-linear-gradient(top, #ddd 0%, #bbb 100%);
	background: linear-gradient(top, #ddd 0%, #bbb 100%);
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.dd3-handle:before {
	content: '≡';
	display: block;
	position: absolute;
	left: 0;
	top: 3px;
	width: 100%;
	text-align: center;
	text-indent: 0;
	color: #fff;
	font-size: 20px;
	font-weight: normal;
}

.dd3-handle:hover {
	background: #ddd;
}


/*自写样式*/
.titleHead,.titleHeads {
	width: 100%;
	height: 35px;
	position: relative;
	border-bottom: 1px solid #c9c9c9;
}

.titleHead div,.titleHeads div {
	width: 112px;
	height: 100%;
	text-align: center;
	font-size: 16px;
	margin: 0 auto;
	color: #333;
	line-height: 16px;
	background: #fff url(../../images/ico_courseMake.png) left top no-repeat;
}
.titleHeads div{
	background: #fff url(../../images/ico_addSome.png) left top no-repeat;
}
.resetChapters{
	height: 38px;
	line-height: 38px;
	width: 54px;
	background: #FFF url(../../images/ico_courseReset.png) no-repeat left center;
	text-align: right;
	cursor: pointer;
	display: block;
	float: right;
}
.courseInfo{
	width: 946px;
	margin:  20px auto 0;
	clear: both;
}
.publicText {
    width: 306px;
}
.publicSelect {
    width: 320px;
    color: #333;
}
.inputRight {
    margin-right: 144px;
     position: relative;
}
.inputRights {
    margin-bottom: 20px;
    position: relative;
}
::-webkit-input-placeholder {
	/* WebKit browsers */
	color: #999;
}

:-moz-placeholder {
	/* Mozilla Firefox 4 to 18 */
	color: #999;
}

::-moz-placeholder {
	/* Mozilla Firefox 19+ */
	color: #999;
}

:-ms-input-placeholder {
	/* Internet Explorer 10+ */
	color: #999;
}
#courseShort{
	    resize: none;
    float: left;
    height: 32px;
    border: 1px solid #dfdfdf;
    border-radius: 5px;
    padding: 12px;
    font-size: 14px;
    width: 838px;
    margin-left: -3px;
    height: 70px;  
}
.saveCourseInfo,.btnBox{
	margin: 0 auto 20px;
}
.btnBox{
	width: 250px;
}
.chapterBoxes{
	width: 1100px;
	height: 450px;
	margin: 20px auto;
	position: relative;
}
.myChapterList,.ownChapterList{
	width:398px;
	border: 1px solid #30476d;
	height: 100%;
}
.changeImg{
	height: 100%;
	width: 146px;
	background: #fff url(../../images/ico_courseChange.png) no-repeat center;
}
.myChapterListTitle,.ownChapterListTitle{
	height: 39px;
	border-bottom: 1px solid #30476d;
	width: 100%;
	background: #30476d;
	color: #fff;
	line-height: 39px;
	text-align: center;
}
.ownChapterListTitle li{
	float: left;
	width: 50%;
	height: 100%;
	cursor: pointer;
}
.ownChapterListTitle li[data-value='0']{
	background: #fff;
	color: #30476d;
}
.ownChapterList #nestable2{
	height: 410px;
	overflow: auto;
	background: #fff;
}
.myCourseNameLeft{
	    height: 37px;
    width: auto;
    text-align: left;
    padding-left: 10%;
    background: #fff url(../../images/ico_folder.png) no-repeat left 5.1% bottom;
    font-size: 14px;
    line-height: 37px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.customCourse{
	display: none;
}
#nestable{
	    overflow: auto;
    height: 343px;
	padding-bottom: 30px;
}
.ico{
	    position: absolute;
    right: 0;
    top: 0;
    width: 34px;
    height: 100%;
    text-align: center;
    line-height: 34px;
    font-size: 13px;
    color: #A0A0A0;
}
#courseNum,#courseScore{
	padding-right: 34px;
	width: 272px;
}
#nestable3{
	height: 50px;
	width: 50px;
	margin-top: 410px;
	margin-right: 20px;
}
#nestable3 .dd-empty{
	height: 40px;
	width: 40px;
	margin: 0;
	min-height: auto;
	background: #ffffff url(../../images/ico_trashBox.png) no-repeat center;
	background-size: contain;
}
.saveChapter{
	margin-right: 10px;
}
@media only screen and (max-width:1400px) {
	.resetChapters{
		float:none;
		position: absolute;
		top: 0;
		right: 500px;
	}
}
.length{
	text-align: left;
	/* padding-left: 90px; */
	font-size: 14px;
	margin-top: 0px;
	color: #ccc;
	/* margin-bottom: 20px; */
	position: absolute;
	right: -58px;
	bottom: 0px;
}
